package com.j.lemon.learn.designpattern.command;


/**
 * 电灯
 */

public class Light {

    public void on() {
        System.out.println("---打开灯");
    }

    public void off() {
        System.out.println("---关闭灯");
    }


}
